﻿<UserControl x:Class="ExampleControl.Controls.HorizontialToolBarItems"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot">
        
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">

            <Button x:Name="ToggleFullScreen" Margin="2,8,2,8" Click="ToggleFullScreen_Click" ToolTipService.ToolTip="Toggle Full Screen">
                <Image x:Name="ToggleFullScreenImage" Source="../Resources/ToolBar/FullScreen.png"/>
            </Button>

            <Button x:Name="ToolBarMapNorth" Margin="2,8,2,8" Click="ToolBarMapNorth_Click"  ToolTipService.ToolTip="Rotate Map to North">
                <Image x:Name="ToolBarMapNorthImage" Source="../Resources/ToolBar/North.png"/>
            </Button>

            <Button x:Name="ToolBarRotate" Margin="2,8,2,8" Click="ToolBarRotate_Click" ToolTipService.ToolTip="Rotate Map">
                <Image x:Name="ToolBarRotateImage" Source="../Resources/ToolBar/Rotate.png"/>
            </Button>

            <Button x:Name="ToolBarResetMap" Margin="2,8,2,8" Click="ToolBarResetMap_Click" ToolTipService.ToolTip="Reset Map Position &amp; Zoom">
                <Image x:Name="ToolBarResetMapImage" Source="../Resources/ToolBar/FitToAize.png"/>
            </Button>

            <Button x:Name="ToggleMapMode" Margin="2,8,2,8" Click="ToggleMapMode_Click" ToolTipService.ToolTip="Toggle Select and Pan Map Modes">
                <Image x:Name="ToggleDragModeImage" Source="../Resources/ToolBar/Pan.png"/>
            </Button>

            <Button x:Name="ToggleOverlayer" Margin="2,8,2,8" Click="ToggleOverlay_Click" ToolTipService.ToolTip="Toggle Overlayer">
                <Image x:Name="ToggleOverlayerImage" Source="../Resources/ToolBar/Map.png"/>
            </Button>

            <Button x:Name="PrintMap" Margin="2,8,2,8" Click="PrintMap_Click" ToolTipService.ToolTip="Print Map">
                <Image x:Name="PrintMapImage" Source="../Resources/ToolBar/PrintMap.png"/>
            </Button>

        </StackPanel>
        
    </Grid>
    
</UserControl>